<?php if($page == 1) {
    if(!empty($thread['editornote'])){
?>
<div class="col-10 offset-1 col-xl-8 offset-xl-2">
    <fieldset id="editornotebox" class="fieldset">
        <legend>编者按：</legend>
        <div>
            <?php echo $thread['editornote'] ?>
        </div>
    </fieldset>
</div>
<?php }
if($IsDisplaySummary != false && !empty($thread['metadesc'])){ ?>
<details open="open" class="threadsummary col-10 offset-1">
    <summary>摘要</summary>
    <em><?php echo $thread['metadesc'] ?></em>
</details>
<?php }} ?>